package com.pic.mgt.dao;

import org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate;
import org.springframework.jdbc.support.SQLExceptionTranslator;

public abstract class BasicDao implements IBasicDao {
	protected NamedParameterJdbcTemplate namedParameterJdbcTemplate;
	
	protected SQLExceptionTranslator sqlExceptionTranslator;
	
	// --- getter and setter ---
	
	public void setNamedParameterJdbcTemplate(
			NamedParameterJdbcTemplate namedParameterJdbcTemplate) {
		this.namedParameterJdbcTemplate = namedParameterJdbcTemplate;
	}

	public void setSqlExceptionTranslator(
			SQLExceptionTranslator sqlExceptionTranslator) {
		this.sqlExceptionTranslator = sqlExceptionTranslator;
	}
	
	
}
